import { Table, Column, Model, DataType } from 'sequelize-typescript';

// model的基类
@Table({})
export default class Base<T> extends Model<T> {
  @Column({
    type: DataType.INTEGER,
    autoIncrement: true,
    primaryKey: true
  })
  id: number;
}
